package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品报告对象 jt_traceability_report
 * 
 * @author Alan Zhang
 * @date 2025-05-22
 */
public class JtTraceabilityReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报告id */
    private Long reportId;

    /** 产品溯源id */
    @Excel(name = "产品溯源id")
    private Long traceabilityId;

    /** 检测报告名称 */
    @Excel(name = "检测报告名称")
    private String reportName;

    /** 检测报告 */
    @Excel(name = "检测报告")
    private String reportImageUrl;

    /** 检测报告文件 */
    @Excel(name = "检测报告文件")
    private String testReportUrl;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sortValue;

    public void setReportId(Long reportId) 
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }

    public void setTraceabilityId(Long traceabilityId) 
    {
        this.traceabilityId = traceabilityId;
    }

    public Long getTraceabilityId() 
    {
        return traceabilityId;
    }

    public void setReportName(String reportName) 
    {
        this.reportName = reportName;
    }

    public String getReportName() 
    {
        return reportName;
    }

    public void setReportImageUrl(String reportImageUrl) 
    {
        this.reportImageUrl = reportImageUrl;
    }

    public String getReportImageUrl() 
    {
        return reportImageUrl;
    }

    public void setTestReportUrl(String testReportUrl) 
    {
        this.testReportUrl = testReportUrl;
    }

    public String getTestReportUrl() 
    {
        return testReportUrl;
    }

    public void setSortValue(Integer sortValue) 
    {
        this.sortValue = sortValue;
    }

    public Integer getSortValue() 
    {
        return sortValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reportId", getReportId())
            .append("traceabilityId", getTraceabilityId())
            .append("reportName", getReportName())
            .append("reportImageUrl", getReportImageUrl())
            .append("testReportUrl", getTestReportUrl())
            .append("sortValue", getSortValue())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
